package com.example.service;

import com.example.pojo.SaleChance;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.vo.ResultVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @since 2022-04-04
 */
public interface ISaleChanceService extends IService<SaleChance> {
    //营销机会添加
    ResultVo addSaleChance(SaleChance saleChance);
    //查询所有
    List<SaleChance> selectAll();
    //查询回收站
    ResultVo deleted();
    //修改
    ResultVo updateSaleChance(SaleChance saleChance);

    PageInfo<SaleChance> electByPager(Integer pageNo, Integer pageSize, String customerName, String createMan, Integer state,Integer devResult,String chanceSource);

}
